AsLive<T>(INotifyCollectionChanged,ViewOrder) Method
In This Topic
Creates a view based on the specified System.Collections.Specialized.INotifyCollectionChanged data source.
Syntax
'Declaration
Public Overloads Shared Function AsLive(Of )( _
ByVal As System.Collections.Specialized.INotifyCollectionChanged, _
ByVal As ViewOrder _
) As View(Of T)
public static View<T> AsLive<>(
System.Collections.Specialized.INotifyCollectionChanged ,
ViewOrder
)
Parameters
- source
- The System.Collections.Specialized.INotifyCollectionChanged data source to expose as a view.
- order
- Specifies whether to preserve source item order.
Type Parameters
- T
- The type of the elements in the view.
Return Value
A view that contains the same elements as the System.Collections.Specialized.INotifyCollectionChanged data source.
See Also